$(function() {
	$id = $("#appid").val();
	$("#personalHref").click(
			function() {
				OpenDialog(800, 400, "个人客户详细信息",
						"../creditcheck/showCreditApplyDetail!personalDetail?applyid="
								+ $id);
			});
	$("#enterpriseHref").click(
			function() {
				OpenDialog(800, 400, "企业客户详细信息",
						"../creditcheck/showCreditApplyDetail!enterpriseDetail?applyid="
								+ $id);
			});
	$("#personalTypeHref").click(
			function() {
				OpenDialog(800, 400, "个人贷款申请担保信息表",
						"../creditcheck/showCreditApply!detail?applyid=" + $id
								+ "&type=1");
			});
	$("#enterpriseTypeHref").click(
			function() {
				OpenDialog(800, 400, "企业贷款申请担保信息表",
						"../creditcheck/showCreditApply!detail?applyid=" + $id
								+ "&type=2");
			});
});